<?php foreach ($rows as $airport): ?>
    <table width="95%">
        <?php echo form_open('rutes/update') ?>
        <tr><td width="125px"><b>From</b></td>
            <td><?php echo form_dropdown('from', $options, $airport->from); ?></td>
        </tr>
        <tr>
            <td><b>To </b></td>
            <td><?php echo form_dropdown('to', $options, $airport->to); ?></td>
        </tr>
        <?php echo form_hidden('id', $airport->id) ?>
        <tr><td></td>
            <td>
                <?php echo form_submit('submit', 'Ok', "class='button'") ?>
            </td>
        </tr>
        <?php form_close() ?>
    </table>
<?php endforeach ?>

